import request from '@/utils/request'

export function getSysWeblog(data) {
  return request({
    url: 'weblog/page',
    method: 'post',
    data
  })
}

export function getSysWeblogDetail(data) {
  return request({
    url: '/weblog/' + data,
    method: 'get'
  })
}
